package net.luohuasheng.bee.proxy.core.utils.jpa.dto;

import javax.persistence.Table;
import java.util.ArrayList;
import java.util.List;

/**
 * @author luohuasheng
 * @date 2020/4/13 08:42
 */
@Table
public class JpaTableDto {

    private String name;
    private boolean table=true;
    private String comment;
    private List<JpaColumnDto> columns = new ArrayList<>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<JpaColumnDto> getColumns() {
        return columns;
    }

    public void setColumns(List<JpaColumnDto> columns) {
        this.columns = columns;
    }

    public boolean isTable() {
        return table;
    }

    public void setTable(boolean table) {
        this.table = table;
    }
}
